/*
 * LAYOUT
 */

body {
    width: 100%;
}

div.left {
    float: left;
}

div.right {
    float: right;
}

div.clear {
    clear: both;
}

/*
 * HEADER
 */

header {
    width: 100%;
    height: 40px;
    position: fixed;
    top: 0;
    left: 0;
    line-height: 40px;
    background-color: #fff;
    border-bottom: 1px solid;
    z-index: 9999;
}

header > div.left > div {
    height: 40px;
    float: left;
    background: url('/css/triangle.png') no-repeat center right;
    padding-right: 30px;
    margin-right: 10px;
}

header > div.left > div:last-child {
    background-image: none;
}

div#ouwaTitle > h1 {
    float: left;
    font-size: 32px;
}

div#ouwaTitle > img {
    width: 49px;
    height: 35px;
    padding: 2px 5px 2px 6px;
    float: left;
}

div#courseTitle > h1 {
    font-size: 24px;
}

div#lectureTitle > h1 {
    font-size: 24px;
}

header > div.right > ul {
    margin: 0;
}

header > div.right > ul > li {
    list-style: none;
    width: 40px;
    height: 40px;
    float: left;
    border-left: 1px solid;
    text-align: center;
}

/*
 * SIDEBAR
 */

div#sidebar {
    position: fixed;
    top: 40px;
    left: 0;
    width: 170px;
    border-right: 1px solid;
}

div#sidebar ol {
    margin: 0;
}

div#sidebar ol li {
    display: list-item !important;
    list-style-type: decimal !important;
    margin: 0;
    padding: 10px;
    border-bottom: 1px solid;
}

/*
 * CONTENT
 */

article {
    border-left: 1px solid;
    position: absolute;
    top: 41px;
    left: 170px;
}

article > div.left {
    width: 57.14%;
    float: left;
}

article > div.right {
    width: 42.86%;
    float: left;
}

article section {
    border-bottom: 1px solid;
}

article > div.left > section {
    border-right: 1px solid;
}

article section:last-child {
    border-bottom: 0;
}

section#video {
    line-height: 0;
    height: 350px;
    background: #000;
}

section#video > h2,
section#slides > h2 {
    display: none;
}

video#lectureVideo {
    width: 100%;
    max-height: 100%;
}

section#slides {
    height: 350px;
}

section#slides img {
    display: block;
    width: 100%;
}

section#notes {
    padding: 10px;
}

section#notes > textarea {
    width: 99%;
    height: 200px;
}

section#facebook {
    padding: 12px 10px 5px;
    overflow: auto;
}